<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import="com.boxin.ims.modules.wechat.entity.Product" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html>
<html style="overflow-x:hidden;overflow-y:auto;"><head>
<title>邯郸微购物</title>		
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">        
<!-- Mobile Devices Support @begin -->
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
<meta content="no-cache" http-equiv="pragma">
<meta content="0" http-equiv="expires">
<meta content="telephone=no, address=no" name="format-detection">
<meta name="apple-mobile-web-app-capable" content="yes"> <!-- apple devices fullscreen -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="stylesheet" type="text/css" href="${ctxStatic }/shopping/common.css" media="all">
<link rel="stylesheet" type="text/css" href="${ctxStatic }/shopping/login.css" media="all">
<link rel="stylesheet" type="text/css" href="${ctxStatic }/shopping/home-menu-8.css" media="all">
<link rel="stylesheet" type="text/css" href="${ctxStatic }/shopping/font-awesome.css" media="all">
<script src="${ctxStatic}/jquery/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="${ctxStatic}/jquery-validation/1.11.0/jquery.validate.min.js" type="text/javascript"></script>
<script src="${ctxStatic}/jquery-validation/1.11.0/jquery.validate.method.min.js" type="text/javascript"></script>
<script type="text/javascript">

function submit(){
	$("#regForm").submit();
}

$(document).ready(function() {
	$("#regForm").validate({
	})
	});
	
</script>
</head>
<body>
<div class="body">
  <header class="w-header" mon="type=header">
    <a class="arrow-wrap" href="javascript:history.back()" mon="content=back">
     <span class="arrow-left"></span>
    </a>
    <a href="index.html?uid=${uid }&wechatId=${wechatId}" class="home" mon="content=home"></a>
    <div class="text">注册</div>
  </header>
  <article class="p-login p-login-common" mon="action=click" id="j-login">
    <form id="regForm"  class="content j-content active" action="${ctxFront }/shopping/reg" method="post">
     <input type="hidden" name="uid" value="${uid }">
	  <input type="hidden" name="wechatId" value="${wechatId }"/>
      <div class="err-wrap j-err-wrap"></div>
      <div>
      <input placeholder="姓名" class="j-input required" name="name" autocomplete="off" maxlength="50" type="text">
        <i class="j-clear-input"></i>
      </div>
      <div>
        <input placeholder="手机号" class="j-input required" name="mobile" autocomplete="off" maxlength="50" type="text">
        <i class="j-clear-input"></i>
      </div>
    </form>
    <section class="btns clearfix">
      <div class="p-reg-footer">
      	<span style="color:red;">${message }</span>
        <div class="btns clearfix" >
         <a href="javascript:submit();" class="btn" >注册</a>
        </div>
      </div>
    </section>
  </article>

</div>
<jsp:include page="./footer.jsp"></jsp:include>
</body>
</html>
